<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<html>

  <head>
  
  <script type = "text/javascript" >
function disableBackButton()
{
window.history.forward();
}
setTimeout("disableBackButton()", 0);
</script>


</head>
  
  <body onload="javascript:disableBackButton()">
     <jsp:include page="header.jsp"></jsp:include> <br/>   

   <table align="center" border="1" bgcolor="" width="70%" cellpadding="10">
   <caption><font color="#ff0080"><strong><font face="Maiandra GD">District Officers</font></strong></font></caption>
     <tr bgcolor="#adede"><font color="#804040"><strong><font face="Maiandra GD" size="3"><i><br></i></font></strong></font></tr>
     <font size="3"><font color="#804040"><strong><font face="Maiandra GD"><br></font></strong></font><br></font>
     <tr><th bgcolor="lightgreen" style="font-weight: normal;"><font size="3" color="#800000"><strong><font face="Maiandra GD">OfficerId</font></strong></font></th><th bgcolor="lightgreen"><font face="Maiandra GD" size="3" color="#800000"><b>Officer Name</b></font></th><th bgcolor="lightgreen"><font color="#800000" size="3" face="Maiandra GD"><b>Department</b></font></th><th bgcolor="lightgreen"><font face="Maiandra GD" size="3" color="#800000"><b>District</b></font></th><th bgcolor="lightgreen"><font face="Maiandra GD" size="3" color="#804040"><b>Delete</b></font></th>  
   </tr>
   
   
   <c:if test="${not empty distofficers}">
   <c:forEach var="officer" items="${distofficers}">
   
    <tr>
   
    <td>${officer.userName}</td>
    <td>${officer.firstName}</td>

    <td>${officer.addresstype }</td>
    <td>${officer.district }</td>
    
   <td> <a href="./DeleteDeptofficerAction?qid=${officer.userName}">Delete</a></td>
 
     </tr>
   </c:forEach>
   </c:if>
   
    </table>
 <br/><br/>

     <jsp:include page="footer.jsp"></jsp:include>
  </body>
</html>
